package com.erp.auto.controller;

import com.erp.auto.domain.ErpAutoViolationRecord;
import com.erp.auto.service.ErpAutoViolationRecordService;
import lombok.AllArgsConstructor;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 自动化违规记录
 *
 * @author WXX
 * @date 2024-01-11 09:41:30
 */
@RestController
@AllArgsConstructor
@RequestMapping("/kjerp/erpAutoViolationRecord" )
public class ErpAutoViolationRecordController {

    private final ErpAutoViolationRecordService erpAutoViolationRecordService;


    /**
     * 详情
     */
    @GetMapping("/selectById")
    public ErpAutoViolationRecord selectById(@Param("id") Long id) {
        return erpAutoViolationRecordService.selectById(id);
    }

}
